package com.jiezheng.huinong.action;

import com.jiezheng.huinong.dao.IndexManageDAOImpl;
import com.jiezheng.huinong.model.IndexInfo;
import com.jiezheng.huinong.model.PayIndexInfo;
import com.opensymphony.xwork2.ActionSupport;

public class PrintPayIndexAction extends ActionSupport {

	private static final long serialVersionUID = 1L;

	private IndexInfo idx = new IndexInfo();
	
	private PayIndexInfo payIndex = new PayIndexInfo();

	public String listPayIndexInfo()
	{
		payIndex = (new IndexManageDAOImpl()).getPayIndexInfo(idx);
		return SUCCESS;
	}

	public IndexInfo getIdx() {
		return idx;
	}

	public void setIdx(IndexInfo idx) {
		this.idx = idx;
	}

	public PayIndexInfo getPayIndex() {
		return payIndex;
	}

	public void setPayIndex(PayIndexInfo payIndex) {
		this.payIndex = payIndex;
	}
	
}
